/**
 * $Id: model8.cpp 147 2009-03-25 22:03:36Z johnoel $
 *
 * Author: David Fournier
 * Copyright (c) 2008, 2009 Regents of the University of California 
 */

  #include <admodel.h>

  objective_function_value * objective_function_value::pobjfun=NULL;
  double objective_function_value::gmax=0;

  objective_function_value::objective_function_value() {pobjfun=this;}
  objective_function_value& objective_function_value::operator =
    (_CONST prevariable& v)
  {
    prevariable::operator = (v);
    return *this;
  }
  objective_function_value& objective_function_value::operator =
    (CGNU_DOUBLE v)
  {
    prevariable::operator = (v);
    return *this;
  }
